import { httpPost, httpGet } from "../utils/http";

// 登录
export const toLoginApi = (data) => {
    return httpPost('/doctors/login', data)
}
// 修改密码
export const updatePasswordApi = (data) => {
    return httpPost('/doctors/resetPassword', data)
}
// 获取信息
export const getInfoByTokenApi = (data) => {
    return httpGet('/doctors/detailByToken', data)
}
